import { Module, Global } from '@nestjs/common';
import { SharpService } from './sharp.service';

/**
 * Sharp 图片处理库模块
 * 基于 NestJS 官方示例实现
 * 参考: https://docs.nestjs.cn/fundamentals/dependency-injection
 * 对应 Java: ImageUtils
 */
@Global()
@Module({
  providers: [SharpService],
  exports: [SharpService],
})
export class SharpModule {}
